<html>
<head><meta charset="utf-8"><title>rustfmt: single line simple struct · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustfmt.3A.20single.20line.20simple.20struct.html">rustfmt: single line simple struct</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="211354058"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustfmt%3A%20single%20line%20simple%20struct/near/211354058" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hoang Tran <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustfmt.3A.20single.20line.20simple.20struct.html#211354058">(Sep 26 2020 at 10:39)</a>:</h4>
<p>hello, is it possible to configure rustfmt to accept simple struct def in single line like this: <code>struct Foo&lt;T&gt; { bar: T }</code></p>



<a name="211372559"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustfmt%3A%20single%20line%20simple%20struct/near/211372559" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustfmt.3A.20single.20line.20simple.20struct.html#211372559">(Sep 26 2020 at 18:19)</a>:</h4>
<p>Ask in #wg-rustfmt on Discord?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>